home *** CD-ROM | disk | FTP | other *** search
- Path: camelot.dsccc.com!not-for-mail
- From: kcline@sun152.spd.dsccc.com (Kevin Cline)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
- Subject: Re: C/C++ knocks the crap out of Ada
- Date: 12 Mar 1996 11:32:18 -0600
- Organization: DSC Communications Corporation Switch Products Division
- Message-ID: <4i4cf2$crm@sun152.spd.dsccc.com>
- References: <JSA.96Feb16135027@organon.com> <adaworksDnrqsE.LpC@netcom.com> <4hhred$1rn@sun152.spd.dsccc.com> <4i19mg$vkt@azure.dstc.edu.au>
- NNTP-Posting-Host: sun152.spd.dsccc.com
-
- In article <4i19mg$vkt@azure.dstc.edu.au>,
- Stephen Crawley <crawley@dstc.edu.au> wrote:
- >In article <4hhred$1rn@sun152.spd.dsccc.com>,
- >Kevin Cline <kcline@sun152.spd.dsccc.com> wrote:
- >>
- >>Well, I will now enumerate the difficulties I had porting an Ada program
- >>with a Motif user interface from the TeleSoft compiler for Sparc-SunOS to
- >>the Verdix compiler for MIPS/IRIX circa 1990:
- >>
- >>1. The TeleSoft compiler came with the IEEE Ada-POSIX bindings.
- >> The Verdix compiler did not; instead it supported a Verdix-defined
- >> API for UNIX services that was radically different.
- >
- >This is not a problem that can be blamed on the Ada language but on
- > a) late development of standardised Ada bindings and
- > b) unwillingness by Verdix to implement the standard when it
- > arrived, maybe as an indirect consequence of a)
-
- I wasn't trying to place blame; I'm trying to explain to Ada advocates
- why most PC and UNIX software developers were (and still are)
- uninterested in Ada, despite the well-known pitfalls in C development.
-
- In fact there were several serious flaws in the Ada-83 language
- that made development of hosted applications in Ada-83 more difficult
- than developing them in C or C++.
-
- >It is unreasonable to expect any validation suite to find all cases
- >where a compiler diverges from the standard. Arguably the ACVC tests
- >should be / have been more extensive though.
-
- The existence of the validation process is often given as an
- advantage of Ada over C and C++. Now you are admitting that
- validation is a political process, and has almost no technical value.
-
- >Bugs in compilers are primarily the compiler vendors fault.
-
- Right, but I was unsuccessful in getting my compiler vendors interested
- in fixing their bugs. This was yet another reason not to use Ada.
-
- >With the arrival GNAT, the commercial vendors have some real
- >competition in terms of compiler quality. If they don't come up to
- >scratch, they are liable to lose market share.
-
- There never seemed to be enough licensees to allow the compiler
- vendors to create a decent product in the early 90's; has this
- changed, or will GNAT be the only game in town? That's not
- necessarily bad; I like public-domain software.
-
- >There are emerging public domain X and MOTIF bindings for Ada that
- >(assuming they are available with GNAT sometime soon) are IMO likely
- >to become defacto standards.
-
- Emerging? Available soon? MOTIF is eight years old; X ten.
- While the Ada community has been trying to reach consensus on
- an X windows/MOTIF binding, the UNIX community has invented
- and widely adopted a whole new language (Tcl/Tk) for GUI development
- that is now used to develop commercial mission-critical software
- in the telecommunications industry.
-
- Rightly or wrongly, many new software systems are designed initially
- with C and C++ APIs. It seems doubtful that the Ada community will
- ever grow large enough to be able to produce and standardize on
- Ada language bindings to new systems in a timely manner.
-
- >>The lack of industry standard Ada bindings to these common OS
- >>services combined with the high expense and poor quality of the
- >>available Ada-83 compilers made development a medium-scale portable
- >>UNIX application in Ada much more expensive and difficult than
- >>developing the same application in C.
- >
- >Yes. But given recent (though belated) standardisation activities and
- >the increasing influence of the GNU / FSF movement in the Ada
- >community, one would hope that this should be less of a problem in the
- >future.
-
- I agree; within five years I predict the DoD mandate will be quietly
- repealed (or largely ignored) and Ada will go the way of APL.
-
- By the way, I programmed in Ada-83 for three years and there was much
- to like about the language, but Ada advocates (and apparently the language
- designers) seldom seem to understand the practical considerations that
- prohibit the use of Ada for developing typical hosted applications.
-
- >>To use Ada in my work today, I would
- >>require an API to CORBA,
- >
- >Available now or soon from at least two commercial ORB vendors; i.e. look at
- >the following
- >
- > http://alsp.arpa.mil/corba-ada/ada-products.html
- >
- >Note that the CORBA standard language bindings for Ada are expected to be
- >formally approved at the OMG board meeting that happens on March 20th (for
- >memory)
- >
-
- I hope they are better than the abominable C++ bindings.
- --
- Kevin Cline
-